package com.hsh.vo.result.convert;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Collections;
import java.util.List;


@Data
@Accessors(chain = true)
@ApiModel(description = "员工，员工直接领导，员工所在部门")
public class DbUserDeptVO {

    @ApiModelProperty(value = "用户id")
    private String userId;

    @ApiModelProperty(value = "用户名称")
    private String username;

    @ApiModelProperty(value = "领导id")
    private String immediateLeader;

    @ApiModelProperty(value = "领导名称")
    private String immediateLeaderName;

    @ApiModelProperty(value = "部门id")
    private String deptId;

    @ApiModelProperty(value = "部门名称")
    private String deptName;

    private List<DbUserDeptVO> children = Collections.emptyList();

    private String label;
    private String value;

}
